import CrudApi from "@/core/CrudApi";
import CrudController, {type CrudConfig} from "@/components/CatCrud/CrudController";
import {Generics} from "@/core/decorators/Generics";
import Log from "@/models/vo/ctl/LogVO";
import JobLogParam from "./Param";

export class JobLogApi extends CrudApi<Log, void, JobLogParam> {
    constructor() {
        super('/ctl/log');
    }
}

export interface JobLogConfig extends CrudConfig<Log, void, JobLogParam> {
}

@Generics({V: Log, S: JobLogParam, API: JobLogApi})
export default class JogLogController extends CrudController<Log, void, JobLogParam, JobLogConfig, JobLogApi> {
  constructor(config: JobLogConfig) {
    super(config)
  }
}